﻿@model PaggerApplication.Models.PageViewModel<PaggerApplication.Models.ProductModel>
@{    
    Layout = null;
}
@if (Model.Data != null && Model.Data.Count() > 0) {
    foreach (var product in Model.Data) {
    <tr>
        <td>@product.ID
        </td>
        <td>@product.Name
        </td>
        <td>@product.Specification
        </td>
        <td>@String.Format("{0:c2}", product.Price)
        </td>
        <td>@product.Count
        </td>
    </tr>
    }
}
